<?php

/**
 * Source code under Creative Commons License 
 * (see LICENSE FILE)
 *
 * Copyright (c) 2013 Maelstrom.
 * All rights reserved.
 *
 *
 * @author      Maelstrom <devcreamframework@gmail.com>
 * @copyright   2012 Maelstrom.
 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 * @link        https://github.com/maelstromkd/cream-dev.git
 * @version     1.2
 */

/**
 * Include main librairies.
 */
// require realpath(dirname(__FILE__)) . '/../../core/paths.php';
// require __CORE__ . 'core.php';
// $_APP = new Backend();
// $_APP->setCache(false);

// $_MAILER = $_APP->_MAILER;

// $message  = 'CREAM FRAMEWORK SUPPORT TECHNIQUE [' . date('d/m/Y H:i:s') . ']' . "\n";
// $message .= '-----------------------------------------------------------------------' . "\n";
// $message .= 'APPID : ' . $_POST['appid'] . ' - SERIAL : ' . $_POST['serial'] . "\n";
// $message .= '-----------------------------------------------------------------------' . "\n";
// $message .= 'Message de ' . $_POST['civility'] . ' ' . $_POST['firstname'] . ' ' . $_POST['name'] . "\n";
// $message .= 'Adresse de réponse : ' . $_POST['email'] . "\n\n";
// $message .= $_POST['message'] . "\n";

// $_MAILER->From 	 	= $_POST['email'];
// $_MAILER->FromName 	= $_POST['civility'] . ' ' . $_POST['firstname'] . ' ' . $_POST['name'];
// $_MAILER->AddAddress('support@cream-framework.com');
// $_MAILER->IsMail();
// $_MAILER->IsHTML(false);
// $_MAILER->Subject  	= 'CREAM FRAMEWORK SUPPORT TECHNIQUE';
// $_MAILER->Body 	 	= $_APP->_STRINGS->mixed_to_latin1($message);
// $_MAILER->Send();
